package com.getword.security.core.properties;


import org.springframework.boot.context.properties.ConfigurationProperties;

// 读取前缀为getword.security的属性配置，其中browser中的属性会被读取到browserProperties中
@ConfigurationProperties(prefix = "getword.security")
public class SecurityProperties {
    // browser的属性会匹配getword.security.browser后面的属性
    private BrowserProperties browser = new BrowserProperties();

    // 验证码属性匹配getword.security.code后面的属性
    private ValidateCodeProperties code = new ValidateCodeProperties();



    public BrowserProperties getBrowser() {
        return browser;
    }

    public void setBrowser(BrowserProperties browser) {
        this.browser = browser;
    }

    public ValidateCodeProperties getCode() {
        return code;
    }

    public void setCode(ValidateCodeProperties code) {
        this.code = code;
    }
}
